home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C / Applications / Moscow ML 1.31 / source code / ANSIshellƒ / os_mac_proto.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-05-01  |  1.7 KB  |  61 lines  |  [TEXT/MPCC]

  1. /* os_mac_proto.h */
  2.  
  3. #ifndef CONTEXT_LINES
  4. #include "os_mac_eEdit.h"
  5. #endif
  6.  
  7. /* prototypes for os_mac_cmdmenu.c */
  8.  
  9. void eDoDialog(int sel);
  10.  
  11. /* prototypes for os_mac.c */
  12.  
  13. void io_err( short io );
  14.  
  15. TrapType GetTrapType(short theTrap);
  16. short NumToolboxTraps(void);
  17. Boolean TrapExists(short theTrap);
  18.  
  19. void select_and_show( WindowPtr wptr );
  20.  
  21. void put_input_str (char *text);
  22.  
  23. short check_TEInsert( char *ptr, long len, eTeHandle hTE, short bold );
  24.  
  25. short getfullpath( short vRefNum, long dirID, Str255 fName, char *Path, short MaxLength, short warn );
  26. short getfullpathfromwd( long wdRefNum, Str255 fName, char *Path, short MaxLength, short warn );
  27. short getfullpathfromcurrentvolume( Str255 fName, char *Path, short MaxLength, short warn );
  28.  
  29. short get_file( Str255 prompt, short nbtypes, SFTypeList ftypes, char *path, short maxlength );
  30. short put_file( Str255 prompt, Str255 deflt, char *path, short maxlength );
  31. short edit( char *name, long line, long chr );
  32. void save_as( short id, char *path );
  33.  
  34. Boolean find_next( short id );
  35. void replace_next( short id );
  36. void replace_all( short id );
  37.  
  38. void handle_activate( WindowPtr wptr, Boolean activep );
  39. long os_get_next_event( EventRecord *event );
  40. long os_handle_event( EventRecord *event );
  41.  
  42. /* prototypes for os_mac_command.c */
  43.  
  44. int ecommand(unsigned char ***av);
  45.  
  46. /* prototypes for os_mac_consoleMW.c */
  47.  
  48. long CharReadyConsoleP(void);
  49.  
  50. /* prototypes for os_mac_eEdit.c */
  51.  
  52. short DeTabifyHandle( Handle h, long *size, long *count, short tabstop );
  53. void eTeDrawLine( eRec **hE, ChPos beginPos, Point location );
  54.  
  55. /* prototypes for os_mac_eStyle.c */
  56.  
  57. void IBeamIt( WindowPtr dwind );
  58. pascal Boolean filterIt( DialogPtr esd, EventRecord *myDialogEvent, short *theDialogItem);
  59.  
  60. /* end of os_mac_proto.h */
  61.